The following table shows the expressions that return true or false values.
Expressions |
Returned values |
---|---|
tag1 > 20 (relational operator) |
1 (true) if tag1 is greater than 20 0 (false) if tag1 is less than or equal to 20 |
Industry\Valve AND Municipal\Valve (logical operator) |
1 (true) if both valves are open 0 (false) if one or both valves are closed |